{layout name="layout/layout" /}
<div class="layuimini-container">
    <div class="layuimini-main">
        <table id="currentTable" class="layui-table layui-hide"
               data-auth-add="{:auths('platformBox/add')}"
               data-auth-edit="{:auths('platformBox/edit')}"
               data-auth-delete="{:auths('platformBox/delete')}"
               lay-filter="currentTable">
        </table>
    </div>
</div>

<script type="text/html" id="buttonTpl">
    <div class="layui-btn layui-btn-xs layui-btn-normal" data-open="admin/platformBox/edit?id={{d.id}}" data-title="编辑">编辑</div>
    <div class="layui-btn layui-btn-xs layui-btn-normal" data-open="admin/platformBoxPrize/index?platform_box_id={{d.id}}" data-full="true" data-title="{{d.name}} - 奖品设置">奖品设置</div>
    <div class="layui-btn layui-btn-xs layui-btn-normal" data-open="admin/paymentPlatformBox/index?platform_box_id={{d.id}}" data-full="true" data-title="{{d.name}} - 中奖明细">中奖明细</div>
    <div class="layui-btn layui-btn-xs layui-btn-success easyadmin-export-btn" data-url="admin/platformBox/export?id={{d.id}}" data-table-export="">导出</div>
</script>